<template>
  <div class="h-full grid gap-[20px] grid-rows-[minmax(680px,1fr)_270px]">
    <projectstatistics v-if="storeType === 1" />
    <homepageproject v-if="storeType === 2" />
    <alarmtrend />
  </div>
</template>

<script setup lang="ts">
import homepageproject from './component/home-page-project.vue'
import projectstatistics from "./component/project-statistics.vue"
import alarmtrend from "./component/alarm-trend.vue"
import { useDataDashboardThemeStore } from '@/store/modules/data-dashboard-theme'

const storeType = useDataDashboardThemeStore().dataDashboardType
</script>
